PrestoPlayer\Services\API\RestPresetsController S

Total Complexity 27
Dependencies 4
Dependents 0
Total lines 818
Lines of code 662
Logical lines of code 65
Comment lines 90
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
get_preset_schema()
B
24
1 310
prepare_item_for_database()
A
30 1 181
get_items()
S
53 4 23
register_routes()
S
44 1 55
create_item()
S
59 3 14
update_item()
S
59 3 13
delete_item()
S
61 3 11
prepare_item_for_response()
S
62 3 11
get_collection_params()
S
56 1 21
register()
S
79 1 3
get_item()
S
71 1 5
get_items_permissions_check()
S
80 1 3
get_item_permissions_check()
S
80 1 3
create_item_permissions_check()
S
80 1 3
update_item_permissions_check()
S
80 1 3
delete_item_permissions_check()
S
80 1 3